home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-01-01 | 1.9 KB | 76 lines | [TEXT/MPS ] |
- //# Copyright: © 1993-1994 by Apple Computer, Inc., all rights reserved.
-
- #ifndef _TRANSLT_
- #define _TRANSLT_
-
- #ifndef _ODOBJECT_
- #include "ODObject.idl"
- #endif
-
- //=====================================================================================
- // Classes defined in this interface
- //=====================================================================================
- interface ODTranslation;
-
- //=====================================================================================
- // Classes used in this interface
- //=====================================================================================
-
- interface ODTypeList;
- interface ODStorageUnitView;
- interface ODSession;
-
-
-
- //=====================================================================================
- // Class ODTranslation
- //=====================================================================================
-
- interface ODTranslation : ODObject
- {
- ODTranslateResult CanTranslate(in ODValueType fromType);
-
- ODTypeList GetTranslationOf(in ODValueType fromType);
-
- ODTranslateResult TranslateView(in ODStorageUnitView fromView,
- in ODStorageUnitView toView);
-
- ODTranslateResult Translate(in ODValueType fromType,
- in ODByteArray fromData,
- in ODValueType toType,
- out ODByteArray toData);
-
- ODValueType GetISOTypeFromPlatformType(in ODPlatformType platformType,
- in ODPlatformTypeSpace typeSpace);
-
- ODPlatformType GetPlatformTypeFromISOType(in ODValueType type);
-
-
- #ifdef __SOMIDL__
- #ifdef _PLATFORM_MACINTOSH_
- implementation
- {
- majorversion = 1; minorversion = 0;
- functionprefix = ODTranslation;
- override:
- somUninit,
- Purge;
-
- releaseorder:
- CanTranslate,
- GetTranslationOf,
- TranslateView,
- Translate,
- GetISOTypeFromPlatformType,
- GetPlatformTypeFromISOType,
- reserved1,
- reserved2,
- reserved3;
-
- };
- #endif //# _PLATFORM_MACINTOSH_
- #endif //# __SOMIDL__
- };
-
- #endif // _TRANSLT_
-